.boxes {
  width: 100%;
  height: 100%;
  position: absolute;
  background: 100%;
}

.rnds {
  position: relative;
}

.rnds .rotate {
  position: absolute;
  left: calc(50% - 10px);
  top: -40px;
  z-index: 99;
  background-color: pink;
  border: 1px solid red;
  display: block;
  width: 20px;
  height: 20px;
  cursor: move;
  user-select: none;
}

.rnds .images {
  width: 100%;
  height: 100%;
}

.drawing-wrap {
  width: 500px;
  height: 500px;
  border: 1px solid red;
  position: relative;
  top: 100px;
  left: 100px;
}

.drawing-item {
  cursor: move;
  width: 100px;
  height: 100px;
  background-color: #ccc;
  position: absolute;
  top: 100px;
  left: 100px;
  box-sizing: border-box;
}

.control-point {
  position: absolute;
  box-sizing: border-box;
  display: inline-block;
  background: #fff;
  border: 1px solid #c0c5cf;
  box-shadow: 0 0 2px 0 rgba(86, 90, 98, 0.2);
  border-radius: 6px;
  padding: 8px;
  margin-top: -8px !important;
  margin-left: -8px !important;
  user-select: none;
}

.control-point.point-e {
  cursor: ew-resize;
  left: 100%;
  top: 50%;
  margin-left: 1px;
}

.control-point.point-n {
  cursor: ns-resize;
  left: 50%;
  margin-top: -1px;
}

.control-point.point-s {
  cursor: ns-resize;
  left: 50%;
  top: 100%;
  margin-top: 1px;
}

.control-point.point-w {
  cursor: ew-resize;
  top: 50%;
  left: 0;
  margin-left: -1px;
}

.control-point.point-ne {
  cursor: nesw-resize;
  left: 100%;
  margin-top: -1px;
  margin-left: 1px;
}

.control-point.point-nw {
  cursor: nwse-resize;
  margin-left: -1px;
  margin-top: -1px;
}

.control-point.point-se {
  cursor: nwse-resize;
  left: 100%;
  top: 100%;
  margin-left: 1px;
  margin-top: 1px;
}

.control-point.point-sw {
  cursor: nesw-resize;
  top: 100%;
  margin-left: -1px;
  margin-top: 1px;
}
